package com.example.ysdemo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ys")
public class YsProperties {

    private String host;
    private String appKey;
    private String appSecret;
    private String accessTokenUrl;
}
